package evedb

import (
    "github.com/Philio/GoMySQL"
    "os"
)

type EveDB struct {
    conn *mysql.Client
}

func Dial(h string, d string, u string, p string) (*EveDB, os.Error) {
    c, err := mysql.DialTCP(h, u, p, d)
    if err != nil {
        return nil, err
    }
    return &EveDB{conn: c}, nil
}
